<template>
    <view>
      <web-view @message="onMessage" :src='url' />
    </view>
  </template>

<script>
export default {
    name: 'UniPresetVueVite1Webview2',

    data() {
        return {
            id:0,
            url:''
        };
    },

    onLoad(e) {
        console.log(e);
        this.id = e.id
        this.url = `https://www.diandianyouke.cn:8081/#id=${this.id}`
    },

    methods: {
        
    },
};
</script>

<style lang="scss" scoped>

</style>